feat: add err-ignore and warn-ignore to breaking action#82
Merged
reuvenharrison merged 2 commits intomainfrom Mar 21, 2026
Merged
feat: add err-ignore and warn-ignore to breaking action#82reuvenharrison merged 2 commits intomainfrom
reuvenharrison merged 2 commits intomainfrom
Conversation
Expose --err-ignore and --warn-ignore CLI flags as action inputs so users can suppress specific false-positive breaking changes by pattern. Closes #66 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
MatchIgnore requires the line to contain both 'METHOD /path' and the localized change text. Update to: 'GET /pets api removed without deprecation' Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #66
Exposes
--err-ignoreand--warn-ignoreas inputs on thebreakingaction, letting users suppress specific false-positive changes by providing a file of regex patterns.Changes
breaking/action.yml: adderr-ignoreandwarn-ignoreinputsbreaking/entrypoint.sh: pass--err-ignore/--warn-ignoreflags when setspecs/err-ignore.txt: test fixture — ignoresendpoint-deleted.github/workflows/test.yaml: addoasdiff_breaking_err_ignorejob that verifies the error is suppressedREADME.md: adderr-ignoreandwarn-ignorerows to the breaking action tableTest plan
oasdiff_breaking_err_ignoretest joberr-ignore: specs/err-ignore.txt, a spec pair that normally produces 1 error returnsNo breaking changes🤖 Generated with Claude Code